package service;

import java.math.BigDecimal;
import java.util.List;

import models.Deduction;
import models.Payment;
import models.Rate;

public interface PayrollCalculatorFacade {

    CalculationResult calculate(String electronicId, Rate rate,
            List<Payment> payments, List<Deduction> deductions);

    BigDecimal calculatePayment(String electronicId, Rate rate, Payment payment);

}
